﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WomanMotion.WebApi.Model.Dtos.Match
{
    /// <summary>
    /// 更新比赛分数DTO
    /// </summary>
    public class UpdateMatchFractionDTO
    {
        /// <summary>
        /// 比赛ID
        /// </summary>
        [Required(ErrorMessage = "比赛ID不能为空")]
        public long Id { get; set; }

        /// <summary>
        /// 队伍一比分
        /// </summary>
        [Required(ErrorMessage = "队伍一比分不能为空")]
        public int Teamascore { get; set; }

        /// <summary>
        /// 队伍二比分
        /// </summary>
        [Required(ErrorMessage = "队伍二比分不能为空")]
        public int Teambscore { get; set; }
    }
}